export default {
    // width: '500px',
    height: '300px',
    tooltip: {
        trigger: 'item',
        formatter: '{a} <br/>{b}: {c} ({d}%)',
        backgroundColor: 'rgba(152,152,152,0.8)',
        textStyle: {
            color: 'white',
        }
    },
    grid: {
        top: '100'

    },
    legend: {
        orient: 'vertical',
        top: 45,
        left: 1,
        data: [
            '直达',
            '搜索引擎',
            '营销广告',
            '视频广告',
            '邮件营销',
            '联盟广告',
            '百度',
            '谷歌',
            '必应',
            '其他'
        ]
    },
    series: [{
            name: 'Access From',
            type: 'pie',
            center: ['60%', '63%'],
            selectedMode: 'single',
            radius: [0, '30%'],
            label: {
                position: 'inner',
                fontSize: 10,
                color: 'white'
            },
            labelLine: {
                show: false
            },
<<<<<<< HEAD
            data: []
=======
            data: [{
                    value: 335,
                    name: '直达',
                    selected: true
                },
                {
                    value: 1548,
                    name: '搜索引擎'
                },
                {
                    value: 679,
                    name: '营销广告'
                }
            ]
>>>>>>> gxd
        },
        {
            name: 'Access From',
            type: 'pie',
            center: ['60%', '63%'],
            radius: ['60%', '75%'],
            labelLine: {
                length: 30
            },
<<<<<<< HEAD
            data: [],
=======
            data: [

                {
                    value: 1048,
                    name: '直达'
                },
                {
                    value: 310,
                    name: '邮件营销'
                },
                {
                    value: 234,
                    name: '联盟广告'
                },
                {
                    value: 1048,
                    name: '百度'
                },
                {
                    value: 251,
                    name: '谷歌'
                },
                {
                    value: 147,
                    name: '必应'
                },
                {
                    value: 102,
                    name: '其他'
                },
                {
                    value: 135,
                    name: '视频广告'
                },
            ],
>>>>>>> gxd

        }
    ],
    color: ['#2ec7c9', '#5ab1ef', '#b6a2de', '#2ec7c9', '#d87a80', '#ffb980', '#e5cf0d', '#95706d', '#dc69aa', '#8d98b3']
}